package com.regent.central.bill.service.storehouse;

import com.regent.central.bill.core.storehouse.StockStyle;
import com.regent.central.infrastructure.service.DomainService;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;


public interface StockStyleService extends DomainService<StockStyle> {
    /**
     * 更新库存
     *
     * @param goodsId
     * @param storehouseId
     * @param stock
     */
    void updateStock(String goodsId, String storehouseId, BigDecimal stock) ;
}
